import request from '@/utils/request'

export function getBannerInfo(data) {
  return request({
    url: '/backend/rotation/list',
    method: 'post',
    data
  })
}
export function addBanner(data) {
  return request({
    url: '/backend/rotation/add',
    method: 'post',
    data
  })
}
export function editBanner(data) {
  return request({
    url: '/backend/rotation/update',
    method: 'post',
    data
  })
}
export function delBanner(data) {
  return request({
    url: '/backend/rotation/delete',
    method: 'post',
    data
  })
}


